package com.baymax.study.security.domain.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baymax.study.security.domain.entity.Role;
import org.apache.ibatis.annotations.Param;

public interface RoleMapper extends BaseMapper<Role> {
    /**
     * 新增角色菜单关联
     *
     * @param roleId 角色id
     * @param menuId 菜单id
     */
    void insertRoleMenu(@Param("roleId") long roleId, @Param("menuId") long menuId);
}
